ComponentOne Xamarin.Android
LoadAsync Method (C1HierarchicalCollectionView<T>)


C1.CollectionView Assembly > C1.CollectionView Namespace > C1HierarchicalCollectionView<T> Class : LoadAsync Method
The starting index, if not specified this will be 0.
The starting index, if not specified this will be Count.
The cancellation token.
Load the items between the specified indexes.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.C1HierarchicalCollectionView`1/d__13)> 
Public Function LoadAsync( _ 
   Optional ByVal fromIndex As Nullable(Of Integer), _ 
   Optional ByVal toIndex As Nullable(Of Integer), _ 
   Optional ByVal cancellationToken As CancellationToken _ 
) As Task
'Usage
 
Dim instance As C1HierarchicalCollectionView(Of T)
Dim fromIndex As Nullable(Of Integer)
Dim toIndex As Nullable(Of Integer)
Dim cancellationToken As CancellationToken
Dim value As Task
 
value = instance.LoadAsync(fromIndex, toIndex, cancellationToken)
[AsyncStateMachine(C1.CollectionView.C1HierarchicalCollectionView`1/d__13)] 
public Task LoadAsync( 
   Nullable<int> fromIndex, 
   Nullable<int> toIndex, 
   CancellationToken cancellationToken 
)

Parameters

fromIndex
The starting index, if not specified this will be 0.
toIndex
The starting index, if not specified this will be Count.
cancellationToken
The cancellation token.
See Also

Reference

C1HierarchicalCollectionView<T> Class
C1HierarchicalCollectionView<T> Members